Bentley Map V8i (SELECTseries 10) Help

MESSAGE

Syntax: MESSAGE { variable[format] | “string” } [ { variable[format] | “string” } ]...

Writes a line of text to the MicroStation Message window. Following the MESSAGE command is a list of variables and/or text strings. The contents of the variables are concatenated with the text strings resulting in one long text string that is then written in the Message List. The MESSAGE command is useful for showing warnings and error messages.

Example: MESSAGE “The pipe is “ LENGTH:0:0 “ feet long”

If the pipe is 100 feet long, the resulting message text would be “The pipe is 100 feet long.”

Variables containing floating point numbers can be formatted using a format string. The format string consists of two numbers separated by a colon. The first number defines the total number of digits the number should use. The second number defines the number of decimals; the decimals are rounded to the proper value. If it is irrelevant how many digits or decimals are used, use a zero.